# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/Matos/App/accounting/jurnalEdit.ui'
#
# Created: Sat Jan 24 08:56:03 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_jurnalEditDlg(object):
    def setupUi(self, jurnalEditDlg):
        jurnalEditDlg.setObjectName("jurnalEditDlg")
        jurnalEditDlg.setWindowModality(QtCore.Qt.ApplicationModal)
        jurnalEditDlg.resize(QtCore.QSize(QtCore.QRect(0,0,742,481).size()).expandedTo(jurnalEditDlg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(jurnalEditDlg)
        self.gridlayout.setObjectName("gridlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName("gridlayout1")

        self.label_10 = QtGui.QLabel(jurnalEditDlg)
        self.label_10.setObjectName("label_10")
        self.gridlayout1.addWidget(self.label_10,0,0,1,1)

        self.tipe_cmb = QtGui.QComboBox(jurnalEditDlg)
        self.tipe_cmb.setObjectName("tipe_cmb")
        self.tipe_cmb.addItem("")
        self.gridlayout1.addWidget(self.tipe_cmb,0,1,1,1)

        self.label_6 = QtGui.QLabel(jurnalEditDlg)
        self.label_6.setObjectName("label_6")
        self.gridlayout1.addWidget(self.label_6,0,2,1,1)

        self.unit_le = QtGui.QLineEdit(jurnalEditDlg)
        self.unit_le.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.unit_le.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.unit_le.setFrame(True)
        self.unit_le.setObjectName("unit_le")
        self.gridlayout1.addWidget(self.unit_le,0,3,1,1)

        self.label_19 = QtGui.QLabel(jurnalEditDlg)
        self.label_19.setObjectName("label_19")
        self.gridlayout1.addWidget(self.label_19,0,4,1,1)

        self.bank_de = QtGui.QDateEdit(jurnalEditDlg)
        self.bank_de.setMaximumSize(QtCore.QSize(100,16777215))
        self.bank_de.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.bank_de.setCalendarPopup(True)
        self.bank_de.setObjectName("bank_de")
        self.gridlayout1.addWidget(self.bank_de,0,5,1,1)

        self.label_3 = QtGui.QLabel(jurnalEditDlg)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3,0,6,1,1)

        self.per_le = QtGui.QLineEdit(jurnalEditDlg)
        self.per_le.setMaximumSize(QtCore.QSize(80,16777215))
        self.per_le.setFocusPolicy(QtCore.Qt.NoFocus)
        self.per_le.setFrame(False)
        self.per_le.setObjectName("per_le")
        self.gridlayout1.addWidget(self.per_le,0,7,1,1)

        self.label_2 = QtGui.QLabel(jurnalEditDlg)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2,1,0,1,1)

        self.no_le = QtGui.QLineEdit(jurnalEditDlg)
        self.no_le.setFocusPolicy(QtCore.Qt.NoFocus)
        self.no_le.setFrame(False)
        self.no_le.setObjectName("no_le")
        self.gridlayout1.addWidget(self.no_le,1,1,1,1)

        self.label_17 = QtGui.QLabel(jurnalEditDlg)
        self.label_17.setObjectName("label_17")
        self.gridlayout1.addWidget(self.label_17,1,2,1,1)

        self.ref_le = QtGui.QLineEdit(jurnalEditDlg)
        self.ref_le.setMaxLength(32767)
        self.ref_le.setObjectName("ref_le")
        self.gridlayout1.addWidget(self.ref_le,1,3,1,1)

        self.label_9 = QtGui.QLabel(jurnalEditDlg)
        self.label_9.setObjectName("label_9")
        self.gridlayout1.addWidget(self.label_9,1,4,1,1)

        self.due_de = QtGui.QDateEdit(jurnalEditDlg)
        self.due_de.setMaximumSize(QtCore.QSize(100,16777215))
        self.due_de.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.due_de.setCalendarPopup(True)
        self.due_de.setObjectName("due_de")
        self.gridlayout1.addWidget(self.due_de,1,5,1,1)

        spacerItem = QtGui.QSpacerItem(17,13,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Maximum)
        self.gridlayout1.addItem(spacerItem,1,7,1,1)

        self.label_18 = QtGui.QLabel(jurnalEditDlg)
        self.label_18.setObjectName("label_18")
        self.gridlayout1.addWidget(self.label_18,2,0,1,1)

        self.tgl_de = QtGui.QDateEdit(jurnalEditDlg)
        self.tgl_de.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.tgl_de.setCalendarPopup(True)
        self.tgl_de.setObjectName("tgl_de")
        self.gridlayout1.addWidget(self.tgl_de,2,1,1,1)

        self.label_16 = QtGui.QLabel(jurnalEditDlg)
        self.label_16.setObjectName("label_16")
        self.gridlayout1.addWidget(self.label_16,2,2,1,1)

        self.refj_le = QtGui.QLineEdit(jurnalEditDlg)
        self.refj_le.setObjectName("refj_le")
        self.gridlayout1.addWidget(self.refj_le,2,3,1,1)

        self.label_24 = QtGui.QLabel(jurnalEditDlg)
        self.label_24.setObjectName("label_24")
        self.gridlayout1.addWidget(self.label_24,2,4,1,1)

        self.auditUser_le = QtGui.QLineEdit(jurnalEditDlg)
        self.auditUser_le.setMaximumSize(QtCore.QSize(82,16777215))
        self.auditUser_le.setFocusPolicy(QtCore.Qt.NoFocus)
        self.auditUser_le.setFrame(False)
        self.auditUser_le.setReadOnly(True)
        self.auditUser_le.setObjectName("auditUser_le")
        self.gridlayout1.addWidget(self.auditUser_le,2,5,1,1)

        self.auditTime_dte = QtGui.QDateTimeEdit(jurnalEditDlg)
        self.auditTime_dte.setMaximumSize(QtCore.QSize(120,16777215))
        self.auditTime_dte.setFocusPolicy(QtCore.Qt.NoFocus)
        self.auditTime_dte.setFrame(False)
        self.auditTime_dte.setReadOnly(False)
        self.auditTime_dte.setCalendarPopup(False)
        self.auditTime_dte.setObjectName("auditTime_dte")
        self.gridlayout1.addWidget(self.auditTime_dte,2,6,1,2)

        self.label_22 = QtGui.QLabel(jurnalEditDlg)
        self.label_22.setObjectName("label_22")
        self.gridlayout1.addWidget(self.label_22,3,0,1,1)

        self.desc_le = QtGui.QLineEdit(jurnalEditDlg)
        self.desc_le.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.desc_le.setMaxLength(25)
        self.desc_le.setFrame(True)
        self.desc_le.setObjectName("desc_le")
        self.gridlayout1.addWidget(self.desc_le,3,1,1,7)
        self.vboxlayout.addLayout(self.gridlayout1)

        self.line = QtGui.QFrame(jurnalEditDlg)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.vboxlayout.addWidget(self.line)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        self.add_pb = QtGui.QPushButton(jurnalEditDlg)
        self.add_pb.setMinimumSize(QtCore.QSize(300,0))
        self.add_pb.setObjectName("add_pb")
        self.hboxlayout.addWidget(self.add_pb)

        spacerItem1 = QtGui.QSpacerItem(13,22,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)

        self.del_pb = QtGui.QPushButton(jurnalEditDlg)
        self.del_pb.setMinimumSize(QtCore.QSize(300,0))
        self.del_pb.setObjectName("del_pb")
        self.hboxlayout.addWidget(self.del_pb)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.detail_tbv = QtGui.QTableView(jurnalEditDlg)
        self.detail_tbv.setAlternatingRowColors(True)
        self.detail_tbv.setSortingEnabled(True)
        self.detail_tbv.setObjectName("detail_tbv")
        self.vboxlayout.addWidget(self.detail_tbv)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")

        spacerItem2 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem2)

        self.save_pb = QtGui.QPushButton(jurnalEditDlg)
        self.save_pb.setObjectName("save_pb")
        self.hboxlayout1.addWidget(self.save_pb)

        self.cancel_pb = QtGui.QPushButton(jurnalEditDlg)
        self.cancel_pb.setObjectName("cancel_pb")
        self.hboxlayout1.addWidget(self.cancel_pb)

        spacerItem3 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem3)
        self.vboxlayout.addLayout(self.hboxlayout1)
        self.gridlayout.addLayout(self.vboxlayout,0,0,1,1)
        self.label_6.setBuddy(self.unit_le)
        self.label_19.setBuddy(self.tgl_de)
        self.label_3.setBuddy(self.per_le)
        self.label_2.setBuddy(self.no_le)
        self.label_17.setBuddy(self.ref_le)
        self.label_18.setBuddy(self.tgl_de)
        self.label_16.setBuddy(self.refj_le)

        self.retranslateUi(jurnalEditDlg)
        QtCore.QMetaObject.connectSlotsByName(jurnalEditDlg)
        jurnalEditDlg.setTabOrder(self.tipe_cmb,self.tgl_de)
        jurnalEditDlg.setTabOrder(self.tgl_de,self.desc_le)
        jurnalEditDlg.setTabOrder(self.desc_le,self.unit_le)
        jurnalEditDlg.setTabOrder(self.unit_le,self.ref_le)
        jurnalEditDlg.setTabOrder(self.ref_le,self.refj_le)
        jurnalEditDlg.setTabOrder(self.refj_le,self.bank_de)
        jurnalEditDlg.setTabOrder(self.bank_de,self.due_de)
        jurnalEditDlg.setTabOrder(self.due_de,self.add_pb)
        jurnalEditDlg.setTabOrder(self.add_pb,self.del_pb)
        jurnalEditDlg.setTabOrder(self.del_pb,self.detail_tbv)
        jurnalEditDlg.setTabOrder(self.detail_tbv,self.save_pb)
        jurnalEditDlg.setTabOrder(self.save_pb,self.cancel_pb)

    def retranslateUi(self, jurnalEditDlg):
        jurnalEditDlg.setWindowTitle(QtGui.QApplication.translate("jurnalEditDlg", "Edit / Add Journal", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("jurnalEditDlg", "Journal Type:", None, QtGui.QApplication.UnicodeUTF8))
        self.tipe_cmb.addItem(QtGui.QApplication.translate("jurnalEditDlg", "EMS", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("jurnalEditDlg", "Unit Ref:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_19.setText(QtGui.QApplication.translate("jurnalEditDlg", "Bank Date:", None, QtGui.QApplication.UnicodeUTF8))
        self.bank_de.setDisplayFormat(QtGui.QApplication.translate("jurnalEditDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("jurnalEditDlg", "Period:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("jurnalEditDlg", "Journal No:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(QtGui.QApplication.translate("jurnalEditDlg", "Reference:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("jurnalEditDlg", "Due Date:", None, QtGui.QApplication.UnicodeUTF8))
        self.due_de.setDisplayFormat(QtGui.QApplication.translate("jurnalEditDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.label_18.setText(QtGui.QApplication.translate("jurnalEditDlg", "Date:", None, QtGui.QApplication.UnicodeUTF8))
        self.tgl_de.setDisplayFormat(QtGui.QApplication.translate("jurnalEditDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(QtGui.QApplication.translate("jurnalEditDlg", "Journal Ref", None, QtGui.QApplication.UnicodeUTF8))
        self.label_24.setText(QtGui.QApplication.translate("jurnalEditDlg", "Audit:", None, QtGui.QApplication.UnicodeUTF8))
        self.auditTime_dte.setDisplayFormat(QtGui.QApplication.translate("jurnalEditDlg", "dd-MM-yyyy hh:mm", None, QtGui.QApplication.UnicodeUTF8))
        self.label_22.setText(QtGui.QApplication.translate("jurnalEditDlg", "Desc.:", None, QtGui.QApplication.UnicodeUTF8))
        self.add_pb.setText(QtGui.QApplication.translate("jurnalEditDlg", "&Add Detail", None, QtGui.QApplication.UnicodeUTF8))
        self.del_pb.setText(QtGui.QApplication.translate("jurnalEditDlg", "&Delete Detail", None, QtGui.QApplication.UnicodeUTF8))
        self.save_pb.setText(QtGui.QApplication.translate("jurnalEditDlg", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel_pb.setText(QtGui.QApplication.translate("jurnalEditDlg", "&Cancel", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    jurnalEditDlg = QtGui.QDialog()
    ui = Ui_jurnalEditDlg()
    ui.setupUi(jurnalEditDlg)
    jurnalEditDlg.show()
    sys.exit(app.exec_())
